var ckage = require("./package1");


function foo(){
	if(typeof ckage == "function"){
		for(var i=0;i<=100;i+=2){
			console.log("人们把" + i + "岁叫做" + ckage(i) + "\n");
		}
		return false;
	}else{
		return ckage;
	}
	
}

for(var i=0;i<10;i++){
	 console.log(typeof ckage);
	if(typeof ckage == "function"){	
		console.log(foo());
		break;
	}else{
		console.log("第"+i+"次" + typeof ckage);
	}
}